home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Documentation / d e v e l o p / Develop Issue 23 article / Geometry Sample / PPCAppSample.make < prev    next >
Encoding:
Text File  |  1996-05-21  |  962 b   |  44 lines  |  [TEXT/MPS ]

  1.  
  2. #
  3. # ----- Compiler and compiler options -----
  4. #
  5. PPCCOPTIONS        = -w conformance -appleext on
  6. MRCOPTIONS         =
  7.  
  8. COMPILER         = MrC {MRCOPTIONS}
  9. #COMPILER         = PPCC {PPCCOPTIONS}
  10. SYM                = -sym on
  11.  
  12.  
  13. #
  14. # ----- Object Folder and Objects -----
  15. #
  16. OBJ                = ":object:"
  17.  
  18. OBJECTS         = ∂
  19.                     {OBJ}Application.o
  20.  
  21. #
  22. # ----- Build stuff -----
  23. #
  24. PPCAppSample  ƒƒ PPCAppSample.make Sample.r
  25.     Rez -d POWERPC_BUILD Sample.r -append -o PPCAppSample
  26.  
  27. PPCAppSample ƒƒ PPCAppSample.make  {OBJECTS}
  28.     PPCLink {SYM} ∂
  29.         {OBJECTS} ∂
  30.         "{PPCLibraries}"InterfaceLib.xcoff ∂
  31.         "{PPCLibraries}"MathLib.xcoff ∂
  32.         "{PPCLibraries}"StdCLib.xcoff ∂
  33.         "{PPCLibraries}"StdCRuntime.o ∂
  34.         "{PPCLibraries}"PPCCRuntime.o ∂
  35.         -main __start ∂
  36.         -o PPCAppSample ∂
  37.         -librename InterfaceLib.xcoff=InterfaceLib ∂
  38.         -librename MathLib.xcoff=MathLib ∂
  39.         -librename StdCLib.xcoff=StdCLib ∂
  40.         -t APPL -c '????'
  41.  
  42.  
  43. {OBJ}Application.o ƒ PPCAppSample.make Application.c
  44.     {COMPILER} {SYM} Application.c -o {OBJ}Application.o